@charset "utf-8";

@import "common";
@import "reset";
$width:100%;

.content{
    width:$width;
    margin: 0 auto;
    height:1800px ;
    background: #f5f5f5;
    .classift-box{
        max-width: 1350px;
        margin: 0 auto;
        .classift-left{
            width: 230px;
            height: 1717px;
            padding-top: 20px;
            display: inline-block;
        }
        .classift-right{
            width: 1084px;
            display: inline-block;
            vertical-align: top;
            padding-top: 20px;
            .right-nav{
                width: 1084px;
                height: 337px;
                img{
                    border: 4px solid #FFFFFF;
                }
            }
            .right-title{
                width: $width;
                margin: 0 auto;
                .title-box{
                    padding: 28px 0 42px 0;
                    line-height: 38px;
                    li{
                        span{
                            font-size: 12px;
                            display:inline-block;
                            &:first-of-type{
                                font-size: 16px;
                                color: #c3c3c3;
                                width: 97px;
                            }
                            &:nth-of-type(2){
                                width: 120px;
                            }
                            &:nth-of-type(3){
                                width: 130px;
                            }
                            a{
                                color: #000000;
                                &:hover{
                                    color: red;
                                }
                            }
                        }
                    }
                    
                }
            }
            .sort{
                  width: $width;
                  background: #d8d8d8;
                  height: 32px;
                  line-height:32px;
                  margin-bottom: 8px;
                  span{
                      font-size: 12px;
                      padding-left: 22px;
                  } 
            }
            .right-content{
                width: 1090px;
                margin:0 auto;
                font-size: 0;
                .right-ul{
                    li{
                        width: 270px;
                        height: 376px;
                        display: inline-block;
                        font-size: 12px;
                        margin-left: 3px;
                        margin-top: 20px;
                        position: relative;
                        &:first-of-type{
                            margin-left: 0;
                            margin-top: 0;
                        }
                        .text{
                            padding:25px 0 8px 10px;
                            background:#FFFFFF ;
                            line-height: 20px;
                        }
                        div:first-of-type{
                            position: relative;
                            width: 270px;
                            height: 270px;
                            overflow: hidden;
                            &:hover{
                                .welcome{
                                    top: 0;
                                    transition-delay: .5s;
                                }
                                &:before{
                                    transform: rotate(45deg) translateY(190px);
                                    transition-delay: 0s;
                                }
                            }
                            &:before{
                                content: "";
                                position: absolute;
                                width: 400px;
                                height: 150px;
                                background-color: white;
                                opacity: .4;
                                transform: rotate(45deg) translateY(-342px);
                                transform-origin: 0 0;
                                transition: all .5s;
                                transition-delay: .5s;
                            }
                           .welcome{
                                position: absolute;
                                top: -270px;
                                width: 270px;
                                height: 270px;
                                background-color: rgba(0,0,0,.5);
                                text-align: center;
                                line-height: 270px;
                                font-size: 24px;
                                color: white;
                                font-style: italic;
                                transition: all .5s;
                                transition-delay: 0s;
                            }  
                        }
                    }
                }
            }
        }
    }
    
}


